﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/TLFLayout.Master" AutoEventWireup="true" CodeBehind="popoutDemo.aspx.cs" Inherits="HRTemplate.popoutDemo" %>

<%@ Register Src="~/userControls/leftNav.ascx" TagPrefix="uc1" TagName="leftNav" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../resource/script/jquery.colorbox.js" type="text/javascript"></script> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderTop" runat="server">
    <script>
        $(function () {
            setTab("办事大厅", "弹出层");
        });

        function showDemo() {
            $(".preview").colorbox({ width:"600px", height:"600px", title: "预览", html:"<h1>welcome</h1>" });
        }
    </script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderLeft" runat="server">
    <uc1:leftNav runat="server" ID="leftNav" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderSecondNavigation" runat="server">
    <a href="#">办事大厅</a> > 公共控件类 > 提交成功页 >
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderRight" runat="server">
    <h3>弹出层Demo</h3>
    <a href="#" class="preview"" onclick="showDemo()" >弹出来吧，给你自由</a>
</asp:Content>
